package com.wangmei.mapper;

import com.wangmei.model.Product;
import com.wangmei.model.Usercollection;
import com.wangmei.model.UsercollectionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UsercollectionMapper {
    int countByExample(UsercollectionExample example);

    int deleteByExample(UsercollectionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Usercollection record);

    int insertSelective(Usercollection record);

    List<Usercollection> selectByExample(UsercollectionExample example);

    Usercollection selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Usercollection record, @Param("example") UsercollectionExample example);

    int updateByExample(@Param("record") Usercollection record, @Param("example") UsercollectionExample example);

    int updateByPrimaryKeySelective(Usercollection record);

    int updateByPrimaryKey(Usercollection record);

    List<Product> selectMyCollection(Map<String,Object> mape);
}